/**
 * jims
 */
package com.jims.master.modules.sys.service;

import com.jims.master.common.persistence.Page;
import com.jims.master.common.service.CrudService;
import com.jims.master.modules.sys.dao.TUnitVsClinicDao;
import com.jims.master.modules.sys.entity.TUnitVsClinic;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import java.util.List;

/**
 * tUnitVsClinicService
 * @author 系统管理员
 * @version 2017-06-13
 */
@Service
@Transactional(readOnly = true)
public class TUnitVsClinicService extends CrudService<TUnitVsClinicDao, TUnitVsClinic> {

	public TUnitVsClinic get(String id) {
		return super.get(id);
	}
	
	public List<TUnitVsClinic> findList(TUnitVsClinic tUnitVsClinic) {
		return super.findList(tUnitVsClinic);
	}
	
	public Page<TUnitVsClinic> findPage(Page<TUnitVsClinic> page, TUnitVsClinic tUnitVsClinic) {
		return super.findPage(page, tUnitVsClinic);
	}
	
	@Transactional(readOnly = false)
	public int save(TUnitVsClinic tUnitVsClinic) {
		return super.save(tUnitVsClinic);
	}
	
	@Transactional(readOnly = false)
	public int delete(TUnitVsClinic tUnitVsClinic) {
		return super.delete(tUnitVsClinic);
	}
	
}